package com.jml.springboot自定义starter009.config;

import com.jml.springboot自定义starter009.utils.TokenProperties;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;

//@Configuration
@SpringBootApplication
@EnableConfigurationProperties(TokenProperties.class)
public class TokenAutoConfiguration {

    @Bean
    public TokenService tokenService() {
        return new TokenService();
    }
}
